package utils

import "github.com/google/uuid"

func GenerateUserToken() string {
	return uuid.New().String()
}
func ProcessPagesEntity(page, rows int) (resultPage, resultRows int) {
	if page <= 0 {
		resultPage = 1
	}
	if rows <= 0 {
		resultRows = 10
	}
	if rows >= 100 {
		resultRows = 10
	}
	return resultPage, resultRows
}
